﻿using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 支付成功返回模型
    /// </summary>
    public class PaySuccessDto
    {
        /// <summary>
        /// 支付订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public BusinessTypeEnum BusinessType { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public PayTypeEnum PayType { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        public string PayTypeDescription => PayType.ToEnumDescription();

        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal PayAmount { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTimeOffset? PayTime { get; set; }

        /// <summary>
        /// CreateTime
        /// </summary>
        public DateTimeOffset CreateTime { get; set; }
    }
}
